package com.community.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.community.mapper.ParkingMapper;
import com.community.pojo.dto.ParkingAIQueryDto;
import com.community.pojo.dto.ParkingQueryDto;
import com.community.pojo.entity.Parking;
import com.community.pojo.vo.ParkingListVo;
import com.community.service.ParkingService;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class ParkingServiceImpl extends ServiceImpl<ParkingMapper, Parking> implements ParkingService {
    @Override
    public List<ParkingListVo> findParkingListByQueryDto(ParkingQueryDto parkingQueryDto) {
        return getBaseMapper().findParkingListByQueryDto(parkingQueryDto);
    }
    @Override
    public List<ParkingListVo> findParkingByAIQueryDto(ParkingAIQueryDto parkingAIQueryDto) {
        return getBaseMapper().findParkingByAIQueryDto(parkingAIQueryDto);
    }
}